package com.cmcc.packet.entity;

/**
 * @program: cmcc-common
 * @description: QuicVersion
 * @create: 2023-03-01 16:31
 **/
public class Version {

    private int version;


    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public boolean isV1() {
        if(this.version == 1){
            return true;
        } else{
            return false;
        }
    }

    public boolean isV2() {
        if(this.version == 2){
            return true;
        } else{
            return false;
        }
    }
}
